package com.doudi.product;

public class DBConfig {
	public static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
	public static final String DB_URL = "jdbc:mysql://10.108.18.83:3306/miaosha";
	// Database credentials
	public static final String USER = "root";
	public static final String PASS = "123123";

	public static String getDB_URL(String ip, String db) {
		return "jdbc:mysql://" + ip + ":3306/" + db;
	}
}
